Sensor-augmented pump (SAP)